<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><!--{if !empty($_FANWE['nav_title'])}-->{$_FANWE['nav_title']} - <!--{/if}--><!--{if empty($no_site_name)}-->{$_FANWE['setting']['site_title']}<!--{/if}--></title>
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta name="keywords" content="{$_FANWE['seo_keywords']}{$_FANWE['setting']['site_keywords']}" />
	<meta name="description" content="{$_FANWE['seo_description']}{$_FANWE['setting']['site_description']}" />
	<link rel="icon" href="{$_FANWE['site_root']}favicon.ico" type="image/x-icon" />
	<?php
		$default_js[] = './public/js/jquery.js';
		$default_js[] = './public/js/base.js';
                $default_js[] = './public/js/jquery.easing.js';
		$default_js[] = './public/js/jquery.lazyload.js';
	?>
	<script type="text/javascript" src="{script $default_js}"></script>
	<?php
		$current_css[] = './tpl/css/reset.css';
		$current_css[] = './tpl/css/base.css';
		$current_css[] = './tpl/css/globe.css';
		$current_css[] = './tpl/css/publishbox.css';
		$current_css[] = './tpl/css/lightbox.css';
		$current_css[] = './tpl/css/addfav.css';
               
	?>
	<link rel="stylesheet" type="text/css" href="{css $current_css}" media="all"/>
	<!--{loop $css_list $css}-->
	<link rel="stylesheet" type="text/css" href="{css $css['url']}"{if !empty($css['media'])} media="{$css['media']}"{/if} />
	<!--{/loop}-->
	<script type="text/javascript">
		var SITE_PATH = '$_FANWE[site_root]';
		var SITE_URL = '$_FANWE[site_url]';
		var TPL_PATH = '{TPL_PATH}';
		var PUBLIC_PATH	 = '{PUBLIC_PATH}';
		var MODULE_NAME	 = '{MODULE_NAME}';
		var ACTION_NAME	 = '{ACTION_NAME}';
		var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
	</script>      
        <!--编辑器设置-->
        <script charset="utf-8" src="./editor/kindeditor.js"></script>
        <script charset="utf-8" src="./editor/lang/zh_CN.js"></script>
        <script>
                
                KindEditor.ready(function(K) {
                        window.editor = K.create('#comment_content',{items : ['bold', 'italic', 'underline', 'forecolor','emoticons','fullscreen']});
                        $(editor.edit.doc).bind("keyup",function (event) {
                        if (event.keyCode == 13) {
                                var autoheight =editor.edit.doc.body.scrollHeight;
                           
                                editor.edit.setHeight(autoheight); 
                            
                        }
                       
    });
 
                });
              


        </script>

</head>
<body>
	<div id="head">
		<div id="info_bar">
			<div class="fm960">
				<div class="fl logo_box">
					<a href="{u index}"><img class="logo fl" src="{$_FANWE['site_root']}{$_FANWE['setting']['site_logo']}" /></a>
				</div>
                                <div id="nav_bar">
                                    <ul class="fl link_box">
                                            <li class="f"><a href="{u index}"{if MODULE_NAME == 'Index'} class="c"{/if}>{lang page_index}</a></li>
                                            <!-- <li>
                                                    <a href="{u ask/index}"{if MODULE_NAME == 'Ask'} class="c"{/if}>问答中心</a>-->
                                            <?php
                                                    $g_r_cate = $_FANWE['cache']['goods_category']['root'];
                                                    $g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
                                            ?>
                                            <li><a href="{u book/shopping}"{if MODULE_NAME == 'Book' && !defined('IS_DAPAI')} class="c"{/if}>妆品</a></li>
                                            <li><a href="#">话题</a></li>
                                            <li><a href="#">折扣</a></li>
                                            <li><a href="#">TV</a></li>
                                            <!--
                                            <li>
                                                    <a href="{u club/index}"{if MODULE_NAME == 'Club'} class="c"{/if}>兴趣小组</a></li>
                                            <li><a href="{u album}"{if MODULE_NAME == 'Album'} class="c"{/if}>{lang common/album}</a></li>
                                            <li><a href="{u book/dapei}"{if defined('IS_DAPAI')} class="c"{/if}>{lang dapei}</a></li>-->

                                            <!--<li><a href="{u daren/index}"{if MODULE_NAME == 'Daren'} class="c"{/if}>{lang daren}</a></li>

                                            <li><a href="{u second}"{if MODULE_NAME == 'Second'} class="c"{/if}>闲置</a></li>

                                            <li><a href="{u shop}"{if MODULE_NAME == 'Shop'} class="c"{/if}>好店</a></li>-->

                                    </ul>

                                    <div class="top_search">
                                            <form action="{u book/search}" method="post">
                                                    <input type="text" name="tag" class="ts_txt" value="" tooltip="{lang search_share}"/>
                                                    <input type="submit" value=" " class="ts_btn" />
                                                    <input type="hidden" name="action" value="search" />
                                                    <div class="ts_type fl" style="display:none;">
                                                            <input type="radio" name="t" value="8" id="s_h" checked="">
                                                            <label for="s_h">{lang search_goods}</label>
                                                            <input type="radio" value="2" name="t" id="s_p">
                                                            <label for="s_p">{lang search_user}</label>
                                                    </div>
                                            </form>
                                    </div>
                                 
				
                               
                                </div>
                           <!--{dynamic getUserInfo}-->
			</div>                    
                </div>
	</div>
   
	
	<div id="body_wrap">